<!DOCTYPE html>
<html lang="en">
<head>
    <th:block th:include="include :: header('监控小组机构详细')" />
    <base target="_self" />
</head>
<body>
<div class="container-div">
    <div class="row">
        <div class="col-sm-12 select-table table-striped">
            <table id="bootstrap-table"></table>
        </div>
    </div>
</div>
<div th:include="include :: footer"></div>
<script th:inline="javascript">
    var prefix = ctx + "oms/paeaAuAuditGroup";
    var deptDatas = [[${@paeaConstants.DEPT_LIST}]];
    var groupId = [[${groupId}]];
    var paeaAuAuditGroupDeptRels = [[${paeaAuAuditGroupDeptRels}]];
    var options = {
        striped: true,
        clickToSelect: false,
        showSearch: false,
        showRefresh: false,
        showToggle: false,
        showColumns: false,
        showExport: false,
        modalName: "监控小组机构详细",
        columns: [{
            radio: false
        },
            {
                field : 'id',
                title : 'id',
                visible: false
            },
            {
                field : 'auditDept',
                title : '监控机构',
                formatter: function(value, row, index) {
                    return $.table.selectDeptLabel(deptDatas, value);
                }
            },
            {
                field : 'groupId',
                title : '监控小组',
                formatter: function(value, row, index) {
                    return $.table.selectDeptLabel(deptDatas, value);
                }
            }]
    };
    $("#bootstrap-table").bootstrapTable(options);
    $("#bootstrap-table").bootstrapTable('load',paeaAuAuditGroupDeptRels);
</script>
</body>
</html>